package txc.test.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import txc.test.model.T;
import txc.test.model.TExample;

public interface TDao {
    long countByExample(TExample example);

    int deleteByExample(TExample example);

    int insert(T record);

    int insertSelective(T record);

    List<T> selectByExample(TExample example);

    int updateByExampleSelective(@Param("record") T record, @Param("example") TExample example);

    int updateByExample(@Param("record") T record, @Param("example") TExample example);
}